package com.qingmeng.outsourcing.mapper;

import com.qingmeng.outsourcing.model.ProjectTypeRelation;
import com.qingmeng.outsourcing.model.ProjectTypeRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ProjectTypeRelationMapper {
    long countByExample(ProjectTypeRelationExample example);

    int deleteByExample(ProjectTypeRelationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ProjectTypeRelation record);

    int insertSelective(ProjectTypeRelation record);

    List<ProjectTypeRelation> selectByExample(ProjectTypeRelationExample example);

    ProjectTypeRelation selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ProjectTypeRelation record, @Param("example") ProjectTypeRelationExample example);

    int updateByExample(@Param("record") ProjectTypeRelation record, @Param("example") ProjectTypeRelationExample example);

    int updateByPrimaryKeySelective(ProjectTypeRelation record);

    int updateByPrimaryKey(ProjectTypeRelation record);
}